package com.jxb.myshop.entity.vo;

import com.jxb.myshop.entity.Cart;

/**
 * @author: JXB
 * @Description: 专门用于保存购物车和商品的联表查询的对象       
 * @date: 2022/9/19 19:21
 * @param:  * @param null
 * @return: {@link null}     
**/
public class CartVo extends Cart {
    private String pname;
    private double pprice;

    public CartVo(int uid, int pid, double ccount, int cnum, String pname, double pprice) {
        super(uid, pid, ccount, cnum);
        this.pname = pname;
        this.pprice = pprice;
    }

    public CartVo() {
    }

    public double getPprice() {
        return pprice;
    }

    public void setPprice(double pprice) {
        this.pprice = pprice;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }
}
